Skip to content

Conversation

@cbotev-databricks
Copy link

This directory contains common code and DABs to deploy observability ETL and dashboards for Databricks ingestion projects. The goal is to provide an example and a starting point for building ingestion observability across pipelines and datasets.

In particular, the package provides:

  • Tools to ETL observability data from a variety of sources such as SDP event log, Auto Loader cloud_file_states, system tables and other.
  • Tag-based pipeline discovery: Specify pipelines to monitor using flexible tag expressions with OR-of-ANDs logic (e.g., "tier:T0;team:data,tier:T1") instead of maintaining lists of pipeline IDs
  • Build a collection of observability tables on top of the above data using the medallion architecture.
  • Provide out-of-the-box AI/BI Dashboards based on the above observability tables
  • Code and examples to integrate the observability tables with third-party monitoring providers such as Datadog, New Relic, Azure Monitor, Splunk

Currently Generic SDP pipelines and Lakeflow CDC Connector pipelines are supported.

}
}
],
"catalog": "chavdarbotev_std",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this say chavdar?


sys.path.append("../../lib")

from dbx_ingestion_monitoring.common_ldp import *
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be called "dbx_ingestion_monitoring"? It sounds very much like https://github.com/databrickslabs/dbx to me


# Configure logging
logging.basicConfig(
level=logging.INFO,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should check the formatting of this file, I think might be a mix of 2-spaces and 4-spaces?

import sys
import logging

sys.path.append("../../lib")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


sys.path.append("../../lib")

from dbx_ingestion_monitoring.common_ldp import *
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: import * is generally frowned upon

@@ -0,0 +1,60 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This folder is a bit odd to me, it is called jobs but has notebooks? Should this live in an src directory of one of the DABs projects?

@@ -0,0 +1,24 @@
# This job builds an inverted index mapping pipeline tags to pipeline IDs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this directory is included from both DABs projects, right? Maybe it should be wrapped into something like common/?

@@ -0,0 +1,17 @@
Copyright (2025) Databricks, Inc.

This Software includes software developed at Databricks (https://www.databricks.com/) and its use is subject to the included LICENSE file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this refer to /LICENSE? You should probably make a copy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants